﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PSE.Framework.Communication.Configuration.Adapters;

namespace PSE.Framework.Communication.Adapters
{
    public abstract class StreamReceiveParameter
    {
        public StreamReceiveParameter()
        {
        }

        internal StreamReceiveParameter(StreamReceiveParameter parameter)
            : this()
        {
            _messageReceivedErrorBehavior = parameter.MessageReceivedErrorBehavior;
        }

        private MessageReceivedErrorBehavior? _messageReceivedErrorBehavior = null;
        public MessageReceivedErrorBehavior? MessageReceivedErrorBehavior
        {
            get { return _messageReceivedErrorBehavior; }
            set { _messageReceivedErrorBehavior = value; }
        }
    }
}
